<!DOCTYPE HTML>
<html>
	<head>
		<meta charset="UTF-8">
		<meta content="width=device-width,user-scalable=no" name="viewport">
		<link rel="stylesheet" href="${s.base}/res/css/mui.min.css">
		<script type="text/javascript" src="${s.base}/res/mui.min.js"></script>
		<script src="${s.base}/res/jquery-1.9.1.min.js"></script>
		<script>
		var jQuery=jQuery.noConflict(); 
		jQuery(document).ready(function () {
			init();
		});

		function init(){
			jQuery("#submitBtn").click(function(){
				jQuery("#info").submit();
			});
		}
		
		mui.init();
		</script>
	</head>
	
<body>
	<header class="mui-bar mui-bar-nav">
			<a class="mui-icon mui-icon-bars mui-pull-left mui-plus-visible"></a>
			<h1 class="mui-title">个人信息绑定</h1>
	</header>
	<div class="mui-content">
		<div id="content">
			
			<h5 class="mui-content-padded" style="margin: 10px 10px 15px 10px;">
				请填写您的个人信息
			</h5>
			
			<form class="mui-input-group" id="info" action="${s.base}/wxweb/saveBind.html" method="post" >
				<input type="hidden" class="mui-input-clear" name="openid" value="${accountOrg.openid!}">
				<input type="hidden" class="mui-input-clear" name="nicknameStr" value="${accountOrg.nicknameStr!}">
				<div class="mui-input-row" style="height:50px;padding:8px">
					<label>真实姓名</label>
					<input type="text" class="mui-input-clear" name="realName" placeholder="填写您的姓名" value="${accountOrg.realName!}">
				</div>
				<div class="mui-input-row" style="height:50px;padding:8px">
					<label>组织机构</label>
					<select name="orgId">
					<#if orgList??>
						<#list orgList as item>
							<#if item.orgId == accountOrg.orgId!>
							<option value="${item.orgId}" selected>${item.orgName}</option>
							<#else>
							<option value="${item.orgId}">${item.orgName}</option>
							</#if>
						</#list>
					</#if>
					</select>
				</div>
			</form>
				<h5 class="mui-content-padded" style="margin: 20px 10px 15px 10px;"></h5>
				<ul class="mui-table-view">
					<li class="mui-table-view-cell" style="text-align: center;" id="submitBtn">
						确认提交
					</li>
				</ul>
		</div>
	</div>
	</body>
</html>